-- GENERATED SPELL FOR [Scarlet Infantryman] --


function spell0_28609(pUnit, Event) --@Heroic Strike,n/a--
pUnit:FullCastSpellOnTarget(25710,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_28609', 590, 1)
end

function spell1_28609(pUnit, Event) --@Sweeping Slam,n/a--
pUnit:FullCastSpellOnTarget(53399,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_28609', 634, 1)
end

function Sorts_28609(pUnit, Event)
local choix_sorts_28609 = math.random(0, 1)
if choix_sorts_28609 == 0 then
pUnit:RegisterEvent('spell0_28609', 1, 1)
end
if choix_sorts_28609 == 1 then
pUnit:RegisterEvent('spell1_28609', 1, 1)
end
end

function mob28609_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28609', math.random(1500, 3000), 1)
end

function mob28609_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28609_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28609_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28609, 1, 'mob28609_Action')
RegisterUnitEvent(28609, 2, 'mob28609_Leave')
RegisterUnitEvent(28609, 3, 'mob28609_Kill')
RegisterUnitEvent(28609, 4, 'mob28609_Die')
